﻿/*  ----------------------------------------------------------------------------
 *  DES-Release 2
 *  ----------------------------------------------------------------------------
 *  File:       IServerWorker.cs
 *  Author:     nitinkoshy@gmail.com
 *  Source:     http://des.codeplex.com/
 *  ----------------------------------------------------------------------------
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DES.Server.Service.Workers
{
    public interface IServerWorker
    {
        void PerformTask(DESServerService serverService);
        string GetWorkerName();
        int GetThreadSleepTime();
        void StartMonitoring(DESServerService serverService);
        void StopMonitoring();
    }
}
